import { postApi } from "../api";
import { CodeOnlyResult } from "@/lib/models/CodeOnlyResult";

export async function logout(): Promise<CodeOnlyResult> {

	const result=await postApi('/logout', {});
	return new CodeOnlyResult(result);
}
